#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL.Models.Marketmodels.Models
{
     
    [Guid ("F1E3A50B-A927-45c1-873D-852023F1BB24"),ComVisible(true)]
	public interface IPiecewiseConstantVariance 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.IVector<Double> RateTimes {get;}
        
		 Double TotalVariance(UInt64 i);
        
		 Double TotalVolatility(UInt64 i);
        
		 Double Variance(UInt64 i);
        
		 Cephei.IVector<Double> Variances {get;}
        
		 Cephei.IVector<Double> Volatilities {get;}
        
		 Double Volatility(UInt64 i);
    }

    // <summary> 
	//  Factory
	// </summary>
   	[ComVisible(true)]
    public interface IPiecewiseConstantVariance_Factory // : Collection_Factory<IPiecewiseConstantVariance, ICell<IPiecewiseConstantVariance>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IPiecewiseConstantVariance, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIPiecewiseConstantVariance&gt</returns>
        IVector<IPiecewiseConstantVariance> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IPiecewiseConstantVariance, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIPiecewiseConstantVariance&gt&gt&gt</returns>
        Generic.ICell<IVector<Generic.ICell<IPiecewiseConstantVariance>>> CreateCellVector();
        IVector<IPiecewiseConstantVariance> CreateVector(IEnumerable<IPiecewiseConstantVariance> source);
        Generic.ICell<IVector<Generic.ICell<IPiecewiseConstantVariance>>> CreateCellVector(IEnumerable<Generic.ICell<IPiecewiseConstantVariance>> source);
    }
}

